<?php
include_once "class/ig2sql.class.php";
include_once "ra_global.php";

foreach($db->ig2_select('mae_shop_old','1') as $list){
    $new=$db->ig2_want('mae_shop','name="'.$list['name'].'"');
	if($new){
	    if($new['is_activate']==$list['type']){
		    echo 'ok<br>';
		}else{
		    echo 'new:'.$new['is_activate'].', old='.$list['type'].', name='.$list['name'].'<br>';
		}
	}else{
	    echo 'no shop :'.$list['name'].'<br>';
	}
	
}



?>